#include "Clock.h"

#include <Qt/QtXml>
#include<iostream>

Clock::Clock(NewParameters params)
{
  timeStamp=0;
  timeWindow=params.getTime()["window"];
  timeStep=params.getTime()["step"];
  maxTimeStep=params.getTime()["maxStep"];
}

Clock::~Clock()
{

}

void Clock::setTimeStamp(double value)
{
  timeStamp=value;
}

double Clock::getTimeStamp()
{
  return timeStamp;
}

void Clock::setTimeStep(double value)
{
  timeStep=value;
}

double Clock::getTimeStep()
{
  return timeStep;
}


void Clock::setTimeWindow(double value)
{
  timeWindow=value;
}

void Clock::setMaxTimeStep(double value)
{
  maxTimeStep=value;
}

double Clock::getTimeWindow()
{
  return timeWindow;
}
double Clock::getMaxTimeStep()
{
  return maxTimeStep;
}
